﻿using System.Text;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;


namespace WindowsGame1
{
   public class Sprite
    {
        public Texture2D texture;
        public Rectangle rect;
        public Vector2 vect;
        public Color color;

        public Sprite()
        {


        }
       
        public Sprite(Texture2D _texture, Rectangle _rect, Color _color)
        {
            this.texture = _texture;
            this.rect = _rect;
            this.color = _color;
        }

        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(texture, rect, color);

        }
    }
}